﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Map.aspx.cs" Inherits="BusinessService.Map" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>My Google Map</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> 
    <link href="../Content/Site.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Scripts/gears_init.js"></script>
    <script type="text/javascript" src="../Scripts/MyGoogleMap.js"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&language=vi"></script>  
    <script type="text/javascript">
    // Asynchronously Loading the Javascript API
 //   function loadScript() {
//      var script = document.createElement("script");
//      script.type = "text/javascript";
//      script.src = "http://maps.googleapis.com/maps/api/js?sensor=false&callback=initialize";
//      document.body.appendChild(script);
//      }
//    window.onload = loadScript;
     //google.maps.event.addDomListener(window, 'load', initialize);
    </script>  
</head>
<body onload="initialize()">
<%--<body>--%>
     <div id="header">
          <ul id="menu">
           <li><a href="#">Đăng Xuất</a></li>
           <li><a href="#">Đăng Nhập</a></li>
           <li><a href="#">Tài Khoản</a></li>
         </ul>
         <div id="logo"><img src="../Content/images/google_maps_logo.png" width="185" height="58" /></div>
      <div id="search">   
            <input name="txtSearch" type="text" id="txtSearch" />
            <input name="btnSearch" type="button" value="Tìm Kiếm"  onclick="btnMyLocation_Click()"/>
      </div>
 
</div>
  <!-- left -->
<div id="left">
Left
</div>
 <!-- main map-->
<div id="map"></div>    
    <!-- header -->
<div id="footer">
    <p class="footer-text1">© 2011 by <a href="#">Website title</a> | All rights reserved | <a href="#">To the top</a></p> 
    <p class="footer-text2"><strong>Google:</strong> <a href="http://www.google.com">DoNguyen</a></p>
</div>
</body>
</html>
